<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>
        function Parsent(name, age, sex, hobby, job) {
            this.name = name;
            this.age = age;
            this.sex = sex;
            this.hobby = hobby;
            this.job = job;
        }

        Parsent.prototype.showme = function () {
            console.log("我叫" + this.name + ",今年" + this.age + "岁,我的性别是" + this.sex + ",我的兴趣爱好是" + this.hobby +
                ",我现在是一名" + this.job);
        }

        var num1 = new Parsent("豪弟弟哟哟", "100", "男", "看180美女", "屌丝");

        num1.showme();
    </script>
</body>

</html>